home *** CD-ROM | disk | FTP | other *** search
/ PC Advisor 2006 January / PCA126_DVD.iso / TRIAL / MacromediaStudio / Flash8-en.exe / Macromedia Flash 8.msi / ISSetupFile.SetupFile5 / Data1.cab / sample.mxi1 < prev   
Encoding:
Text File  |  2005-08-10  |  1.2 KB  |  51 lines

  1. <macromedia-extension
  2.     name="Hello, World"
  3.     version="1.0"
  4.     type="Command">
  5.  
  6.     <!-- Describe the author -->
  7.     
  8.     <author name="Macromedia" />
  9.  
  10.     <!-- List the required/compatible products -->
  11.     
  12.     <products>
  13.         <product name="Dreamweaver" version="6" primary="true" /> 
  14.     </products> 
  15.  
  16.     <!-- Describe the extension -->
  17.     
  18.     <description>
  19.     <![CDATA[
  20.     This is a sample extension.<br><br>
  21.     It displays a javascript alert that says "Hello, World!".
  22.     ]]>
  23.     </description>
  24.  
  25.     <!-- Describe where the extension shows in the UI of the product -->
  26.  
  27.     <ui-access>
  28.     <![CDATA[
  29.     Access from the 'Hello, World' entry in the Commands menu.
  30.     ]]>
  31.     </ui-access>
  32.  
  33.     <!-- Describe the files that comprise the extension -->
  34.     
  35.     <files>
  36.         <file name="Sample.htm" destination="$dreamweaver/configuration/commands" />
  37.     </files>
  38.  
  39.     <!-- Describe the changes to the configuration -->
  40.     
  41.     <configuration-changes>
  42.         
  43.         <!-- Add an entry to the commands menu -->
  44.  
  45.         <menu-insert insertAfter="DWMenu_Commands_SortTable" skipSeparator="true">
  46.             <menuitem name="Hello, World" file="Commands/Sample.htm" id="Sample_HelloWorld" />
  47.             <separator id="Sample_HelloWorld_Separator" />
  48.         </menu-insert>
  49.     
  50.     </configuration-changes>
  51. </macromedia-extension>